/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package paneles;

/**
 *
 * @author Vicente
 */
public class panelReportes extends javax.swing.JPanel {

    /**
     * Creates new form panelPaciente
     */
    public panelReportes() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        grupoReportes = new javax.swing.ButtonGroup();
        lblTitulo = new javax.swing.JLabel();
        btnImprimir = new javax.swing.JButton();
        rbOpcion1 = new javax.swing.JRadioButton();
        rbOpcion2 = new javax.swing.JRadioButton();
        rbOpcion3 = new javax.swing.JRadioButton();
        rbOpcion4 = new javax.swing.JRadioButton();

        setPreferredSize(new java.awt.Dimension(185, 210));

        lblTitulo.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        lblTitulo.setForeground(new java.awt.Color(51, 153, 0));
        lblTitulo.setText("Opciones de Reportes");

        btnImprimir.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        btnImprimir.setForeground(new java.awt.Color(204, 102, 0));
        btnImprimir.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gro/imagenes/imprimir.png"))); // NOI18N
        btnImprimir.setText("Imprimir");
        btnImprimir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnImprimirActionPerformed(evt);
            }
        });

        grupoReportes.add(rbOpcion1);
        rbOpcion1.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        rbOpcion1.setForeground(new java.awt.Color(204, 102, 0));
        rbOpcion1.setText("Pacientes atendidos");

        grupoReportes.add(rbOpcion2);
        rbOpcion2.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        rbOpcion2.setForeground(new java.awt.Color(204, 102, 0));
        rbOpcion2.setText("Pacientes por doctores");
        rbOpcion2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                rbOpcion2ActionPerformed(evt);
            }
        });

        grupoReportes.add(rbOpcion3);
        rbOpcion3.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        rbOpcion3.setForeground(new java.awt.Color(204, 102, 0));
        rbOpcion3.setText("Doctores por fechas");

        grupoReportes.add(rbOpcion4);
        rbOpcion4.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        rbOpcion4.setForeground(new java.awt.Color(204, 102, 0));
        rbOpcion4.setText("Ficha Odontologica");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnImprimir, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(rbOpcion4)
                            .addComponent(rbOpcion3)
                            .addComponent(rbOpcion2)
                            .addComponent(rbOpcion1)
                            .addComponent(lblTitulo))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblTitulo)
                .addGap(18, 18, 18)
                .addComponent(rbOpcion1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(rbOpcion2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(rbOpcion3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(rbOpcion4)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 27, Short.MAX_VALUE)
                .addComponent(btnImprimir)
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    private void btnImprimirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnImprimirActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnImprimirActionPerformed

    private void rbOpcion2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rbOpcion2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_rbOpcion2ActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnImprimir;
    private javax.swing.ButtonGroup grupoReportes;
    private javax.swing.JLabel lblTitulo;
    private javax.swing.JRadioButton rbOpcion1;
    private javax.swing.JRadioButton rbOpcion2;
    private javax.swing.JRadioButton rbOpcion3;
    private javax.swing.JRadioButton rbOpcion4;
    // End of variables declaration//GEN-END:variables
}
